<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Csmwj_weixinuser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-csmwj_weixinuser_id" data-rule="required" data-source="csmwj/weixinuser/index" class="form-control selectpage" name="row[csmwj_weixinuser_id]" type="text" value="{$row.csmwj_weixinuser_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Csmwj_paper_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-csmwj_paper_id" data-rule="required" data-source="csmwj/paper/index" class="form-control selectpage" name="row[csmwj_paper_id]" type="text" value="{$row.csmwj_paper_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iseffectverison')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-iseffectverison" class="form-control selectpicker" name="row[iseffectverison]">
                {foreach name="iseffectverisonList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.iseffectverison"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Answerstatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="answerstatusList" item="vo"}
            <label for="row[answerstatus]-{$key}"><input id="row[answerstatus]-{$key}" name="row[answerstatus]" type="radio" value="{$key}" {in name="key" value="$row.answerstatus"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Submitmethod')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-submitmethod" class="form-control selectpicker" name="row[submitmethod]">
                {foreach name="submitmethodList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.submitmethod"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Usedsecond')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-usedsecond" class="form-control" name="row[usedsecond]" type="number" value="{$row.usedsecond|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score" class="form-control" name="row[score]" type="number" value="{$row.score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Statdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-statdate" class="form-control" name="row[statdate]" type="text" value="{$row.statdate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ip" class="form-control" name="row[ip]" type="text" value="{$row.ip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
